package yongxin.entity.process;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 工序汇报流程
 * @author zhangdaihao
 * @date 2015-02-05 14:03:49
 * @version V1.0   
 *
 */
@SuppressWarnings("serial")
public class ProcessNodeJsonEntity implements java.io.Serializable {
	
	/*
	 * 
	 * jsondata={
		title:"aaa",
		nodes:{
			demo_node_1:{name:"任务单<br>(YJ1503001)",left:67,top:71,type:"start",width:150,height:24},
			demo_node_2:{name:"轧机<br>(YJ1503001)",left:269,top:71,type:"node",width:150,height:24},
			demo_node_5:{name:"切边机<br>(YJ1503001)",left:480,top:71,type:"node",width:150,height:24},
			demo_node_6:{name:"切边机<br>(YJ1503001)",left:680,top:71,type:"fork",width:150,height:24},
			demo_node_7:{name:"切边机<br>(YJ1503001-A)",left:680,top:171,type:"node",width:150,height:24},
			demo_node_8:{name:"切边机<br>(YJ1503001-A)",left:480,top:171,type:"node",width:150,height:24}
		},
		lines:{
			demo_line_3:{type:"sl",from:"demo_node_1",to:"demo_node_2",name:"",marked:false},
			demo_line_6:{type:"sl",from:"demo_node_2",to:"demo_node_5",name:"",marked:false},
			demo_line_7:{type:"sl",from:"demo_node_5",to:"demo_node_6",name:"",marked:false},
			demo_line_8:{type:"sl",from:"demo_node_6",to:"demo_node_7",name:"",marked:false},
			demo_line_9:{type:"sl",from:"demo_node_7",to:"demo_node_8",name:"",marked:false}
		}
	};
	 * */
	public enum Type {  
			start,end,task,node,chat,state,plug,join,fork,complex
		} 
	
	/**id*/
	private java.lang.String id;
	/**fbcph*/
	private java.lang.String fbcph;
	/**name*/
	private java.lang.String name;
	/**left*/
	private java.lang.Integer left=0;
	/**top*/
	private java.lang.Integer top=71;
	/**type*/
	private java.lang.String type;
	/**width*/
	private java.lang.Integer width=150;
	/**height*/
	private java.lang.Integer height=24;
	/**details*/
	private java.lang.String details=" Hi，知道吗？ <br>大前端D7主题很快就疯抢了！<br>";
	/**split*/
	private java.lang.Boolean split=false;
	/**split*/
	private java.lang.String process;
	
	/**direct*/
	private java.lang.Integer direct=0;
	
	
	public java.lang.String getId() {
		return id;
	}
	public void setId(java.lang.String id) {
		this.id = id;
	}
	
	public java.lang.String getFbcph() {
		return fbcph;
	}
	public void setFbcph(java.lang.String fbcph) {
		this.fbcph = fbcph;
	}
	public java.lang.String getName() {
		return name;
	}
	public void setName(java.lang.String name) {
		this.name = name;
	}
	public java.lang.Integer getLeft() {
		return left;
	}
	public void setLeft(java.lang.Integer left) {
		this.left = left;
	}
	public java.lang.Integer getTop() {
		return top;
	}
	public void setTop(java.lang.Integer top) {
		this.top = top;
	}
	public java.lang.String getType() {
		return type;
	}
	public void setType(java.lang.String type) {
		this.type = type;
	}
	public java.lang.Integer getWidth() {
		return width;
	}
	public void setWidth(java.lang.Integer width) {
		this.width = width;
	}
	public java.lang.Integer getHeight() {
		return height;
	}
	public void setHeight(java.lang.Integer height) {
		this.height = height;
	}
	
	
	public java.lang.String  getDetails() {
		return details;
	}
	public void setDetails(java.lang.String details) {
		this.details = details;
	}
	
	
	public java.lang.Boolean  getSplit() {
		return split;
	}
	public void setSplit(java.lang.Boolean split) {
		this.split = split;
	}
	
	

	public java.lang.String getProcess() {
		return process;
	}
	public void setProcess(java.lang.String process) {
		this.process = process;
	}
	
	
	public java.lang.Integer getDirect() {
		return direct;
	}
	public void setDirect(java.lang.Integer direct) {
		this.direct = direct;
	}
}
